package com.whynot.frame.designMode.proxy.fixed.main;

import com.whynot.frame.designMode.proxy.fixed.UserServiceProxy;
import com.whynot.frame.designMode.proxy.fixed.service.UserService;
import com.whynot.frame.designMode.proxy.fixed.service.UserServiceImpl;
import com.whynot.frame.designMode.proxy.fixed.service.UserService;

public class ProxyClient {
	
	public static void main(String[] args) {
		UserService userService = new UserServiceImpl();
		UserServiceProxy proxy = new UserServiceProxy(userService);
		System.out.println(proxy.getUserName());
	}
}
